package com.gyy.faq.pojo.dto;

import com.gyy.faq.validator.group.FaqGroup;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * Created by Lowi on 2018/6/29 0029.
 */
public class FaqBackFeedDTO {
	@NotNull(groups = FaqGroup.UpdateProblemBackFeed.class, message = "id不能为空")
	private Integer id;
	@NotNull(groups = FaqGroup.InsertProblemBackFeed.class, message = "问题id不能为空")
	private Integer problemId;
	@NotNull(groups = FaqGroup.InsertProblemBackFeed.class, message = "问题反馈不能为空")
	private String comment;

	private Date createTime;
	@NotNull(groups = FaqGroup.UpdateProblemBackFeed.class, message = "状态不能为空")
	private Integer status;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getProblemId() {
		return problemId;
	}

	public void setProblemId(Integer problemId) {
		this.problemId = problemId;
	}

	public String getComment() {
		return comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}
}
